<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SK43 TokTok Project</title>
<script language="javascript" type="text/javascript">
function sub(){
 document.departmentAddForm.submit();
}
function res(){         
 document.departmentAddForm.reset();
 }
</script>
</head>
 
<body>
<table  width="1024" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td style="height:80px">
			<!-- 상단 메뉴 페이지 포함 -->
			<jsp:include page="../include/top.jsp"></jsp:include>
		</td>
	</tr>
	<tr>
		<td style="height:600px">
			<!-- 본페이지 시작 -->
			<form name="departmentAddForm" action="insertdepartment.do" method="post">
			<center>
			<table border=1>
				<tr>
					<td colspan="2" align=center><b><font size=5>조직 구성
					추가</font></b></td>
				</tr>
				<tr>
					<td>조직 코드 번호</td>
					<td><input type="text" name="department_id" /></td>
				</tr>
				<tr>
					<td>조직 이름</td>
					<td><input type="text" name="department_name" /></td>
				</tr>
				<tr>
					<td>관리자 번호:</td>
					<td><input type="password" name="manager_id" /></td>
				</tr>
				<tr>
					<td colspan="2" align=center><input type="button" value="조직추가"
						onclick="sub()" /> <input type="button" value="초기화"
						onclick="res()" /></td>
				</tr>
			</table>
			</center>
			</form>
		</td>
	</tr>
	<!-- 본페이지 끝-->
	<!-- 하단 페이지 시작-->
	<tr>
		<td style="height:40px">
			<!-- 상단 메뉴 페이지 포함 -->
			<jsp:include page="../include/bottom.jsp"></jsp:include>
		</td>
	</tr>
	
</table>

</body>
</html> 